package com.example.entity;


public class Classes {

  private Integer classid;
  private String classname;
  private Integer state;
  private String headmaster;
  private String teacher;


    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getHeadmaster() {
        return headmaster;
    }

    public void setHeadmaster(String headmaster) {
        this.headmaster = headmaster;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "Classes{" +
                "classid=" + classid +
                ", classname='" + classname + '\'' +
                ", state=" + state +
                ", headmaster='" + headmaster + '\'' +
                ", teacher='" + teacher + '\'' +
                '}';
    }
}
